@echo off
echo "Examples..."
rm -rf ..\DigiRobo01.Dist\DigiRobo01.examples
mkdir ..\DigiRobo01.Dist\DigiRobo01.examples
xcopy /S .\examples\*.* ..\DigiRobo01.Dist\DigiRobo01.examples
del /F /Q ..\DigiRobo01.Dist\DigiRobo01.examples.zip
C:\Progra~1\7-zip\7z.exe a ..\DigiRobo01.Dist\DigiRobo01.examples.zip ..\DigiRobo01.Dist\DigiRobo01.examples\*.*
rm -rf ..\DigiRobo01.Dist\DigiRobo01.examples

echo "Bin..."
rm -rf ..\DigiRobo01.Dist\DigiRobo01.bin
mkdir ..\DigiRobo01.Dist\DigiRobo01.bin
mkdir ..\DigiRobo01.Dist\DigiRobo01.bin\examples
mkdir ..\DigiRobo01.Dist\DigiRobo01.bin\dist
xcopy /S .\dist\*.jar ..\DigiRobo01.Dist\DigiRobo01.bin\dist
xcopy /S .\examples\*.* ..\DigiRobo01.Dist\DigiRobo01.bin\examples
xcopy /S .\start.bat ..\DigiRobo01.Dist\DigiRobo01.bin
del /F /Q ..\DigiRobo01.Dist\DigiRobo01.bin.zip
C:\Progra~1\7-zip\7z.exe a ..\DigiRobo01.Dist\DigiRobo01.bin.zip ..\DigiRobo01.Dist\DigiRobo01.bin\*
rm -rf ..\DigiRobo01.Dist\DigiRobo01.bin

echo "Src..."
rm -rf ..\DigiRobo01.Dist\DigiRobo01.src
mkdir ..\DigiRobo01.Dist\DigiRobo01.src
xcopy /S .\* ..\DigiRobo01.Dist\DigiRobo01.src
del /F /Q ..\DigiRobo01.Dist\DigiRobo01.src.zip
C:\Progra~1\7-zip\7z.exe a ..\DigiRobo01.Dist\DigiRobo01.src.zip ..\DigiRobo01.Dist\DigiRobo01.src\*
rm -rf ..\DigiRobo01.Dist\DigiRobo01.src



